*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  height: 100vh;
}

.wrapper {
  background: linear-gradient(60deg, #420285, #08bdbd);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}
.wrapper .carousel {
  position: relative;
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.wrapper .carousel_item {
  display: flex;
  align-items: center;
  position: absolute;
  width: 100%;
  padding: 0 12px;
  opacity: 0;
  filter: drop-shadow(0 2px 2px #555);
  will-change: trfansform, opacity;
  animation: carousel-animate-vertical 27s linear infinite;
}
.wrapper .carousel_item:nth-child(1) {
  animation-delay: calc(3s * -1);
}
.wrapper .carousel_item:nth-child(2) {
  animation-delay: calc(3s * 0);
}
.wrapper .carousel_item:nth-child(3) {
  animation-delay: calc(3s * 1);
}
.wrapper .carousel_item:nth-child(4) {
  animation-delay: calc(3s * 2);
}
.wrapper .carousel_item:nth-child(5) {
  animation-delay: calc(3s * 3);
}
.wrapper .carousel_item:nth-child(6) {
  animation-delay: calc(3s * 4);
}
.wrapper .carousel_item:nth-child(7) {
  animation-delay: calc(3s * 5);
}
.wrapper .carousel_item:nth-child(8) {
  animation-delay: calc(3s * 6);
}
.wrapper .carousel_item:last-child {
  animation-delay: calc(-3s * 2);
}
.wrapper .carousel_item-head {
  border-radius: 50%;
  background-color: #d7f7fc;
  width: 90px;
  height: 90px;
  padding: 14px;
  position: relative;
  margin-right: -45px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
}
.wrapper .carousel_item-body {
  width: 100%;
  background-color: #fff;
  border-radius: 8px;
  padding: 16px 20px 16px 70px;
}
.wrapper .carousel_item .title {
  text-transform: uppercase;
  font-size: 20px;
  margin-top: 10px;
}

@keyframes carousel-animate-vertical {
  0% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
  3%, 11.1111111111% {
    transform: translateY(100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  14.1111111111%, 22.2222222222% {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }
  25.2222222222%, 33.3333333333% {
    transform: translateY(-100%) scale(0.7);
    opacity: 0.4;
    visibility: visible;
  }
  36.3333333333% {
    transform: translateY(-100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
  100% {
    transform: translateY(100%) scale(0.5);
    opacity: 0;
    visibility: hidden;
  }
}